Description: 非常经典的哲学家进餐问题(与进程有关)有三个哲学家围着一张桌子,桌子上摆着一碗通心粉;桌子上有且只有三支筷子,且每只筷子摆放在每两个哲学家中间;哲学家必须得到两支筷子才能吃饭,否则就处于思考状态;每个哲学家取筷子必须先取得左边,而后取右边的。
-very classic philosophers dining (with the process) is a three philosophers around the table, on the table untouched bowl of macaroni; on the table and have only three chopsticks, chopsticks and every display in the middle of each 2 philosopher; Philosophers have to be two chopsticks to eat, otherwise we will be in a state of thinking; Each philosopher from chopsticks must first obtain the left, then from the right. Platform: |
Size: 4405248 |
Author:小刚 |
Hits:
Description: 五个哲学家的就餐问题,程序中有左撇子存在,不存在饿死的情况!-Five dining philosophers problem, procedures exist in the left-handed, there is no case of starvation! Platform: |
Size: 6144 |
Author:lq |
Hits:
Description: 哲学家进餐问题,用C++编写,使用多线程实现,通过五个对话框模拟五个哲学家,很直观.-Dining philosophers problem, using C++ Preparation, the use of multi-threaded realize, through the five dialog simulation five philosophers, very intuitive. Platform: |
Size: 1024 |
Author:Wang |
Hits:
Description: 哲学家就餐问题,一共七个哲学家,无限循环。结束进程才能停止程序-Dining philosophers problem, a total of seven philosophers, infinite loop. The end of the process in order to stop the procedure Platform: |
Size: 2048 |
Author:张飞 |
Hits:
Description: 哲学家就餐问题,研究操作系统任务调度的好例子-Dining philosophers problem, study the operating system task scheduling a good example of Platform: |
Size: 44032 |
Author:wanghui |
Hits:
Description: 哲学家就餐问题C语言演示程序,带窗口、对话框,有详细中英文注释-Dining philosophers problem of C language demo program with a window, dialog box, there are detailed notes in English and Chinese Platform: |
Size: 1202176 |
Author:taha |
Hits:
Description: 哲学家就餐问题,他们每个人的左边都有一支筷子,解决死锁问题-Dining philosophers problem, the left side of each of them has a chopsticks, solve the deadlock problem Platform: |
Size: 1949696 |
Author:chenl |
Hits:
Description: 这个程序可以演示关于哲学家就餐的问题,对于理解线程的相互等待有很好的作用-This procedure can be demonstrated on the Dining Philosophers problem, each thread to wait for understanding the role of good Platform: |
Size: 1951744 |
Author:刘亚云 |
Hits:
Description: linux下哲学家用餐的经典问题,内含makeifile和主函数源代码-Under the classic dining philosophers linux problem and the main function contains the source code makeifile Platform: |
Size: 1024 |
Author:陈峻熙 |
Hits:
Description: 网络编程代码,网络编程中能用到的例子--哲学家进餐问题-Network programming code, network programming can be used to the example- dining philosophers problem Platform: |
Size: 351232 |
Author:王小莫 |
Hits:
Description: 说明:本程序是操作系统中比较典型的线程同步算法中的哲学家进餐问题,为防止死锁,采取了两个条件(筷子空闲)同时满足时再允许进餐的办法来解决。-Note: This procedure is typical of the operating system thread synchronization algorithm dining philosophers problem, in order to prevent deadlock, has taken two conditions (free chopsticks) are true and then allow the solution to eating. Platform: |
Size: 689152 |
Author:钟韬 |
Hits:
Description: 多线程解决哲学家就餐问题,实现进程与线程间的同步。-Multi-threading to solve the dining philosophers problem, to achieve synchronization between processes and threads. Platform: |
Size: 2048 |
Author:陈文 |
Hits:
Description: 本java设计模拟经典的哲学家进餐的同步问题,实现一个既没有两邻座同时吃饭,又没有人饿死(永远拿不到一双筷子)的算法。内附运行说明。-The Java design simulation of the classic dining philosophers synchronization issues, to achieve a two sitting next to him to eat, and no one starved to death (never get a pair of chopsticks) algorithm. Included running instructions. Platform: |
Size: 1488896 |
Author:小陈 |
Hits:
Description: 通过实现哲学家进餐问题的同步深入了解和掌握进程同步和互斥的原理-Through the dining philosophers problem of synchronization-depth understanding and mastery of process synchronization and mutual exclusion principle Platform: |
Size: 322560 |
Author:kuangpeiyu |
Hits:
Description: 哲学家进餐例子。 哲学家问题的大意是:5个哲学家围坐在一张圆桌周围,每个哲学家面
前有一碟通心面,要使用筷子才能进餐。相邻两个碟子之间有一根筷子。哲
学家包含三种状态:吃饭、思考和挨饿。当一个哲学家觉得饿时,他才试
图分两次去取他左边和右边的筷子就餐,吃完以后放下筷子继续思考。-The dining philosophers example. Philosophers problem to the effect that: five philosophers sitting around a round table in front of each philosopher, a dish of macaroni, to use chopsticks in order to dine. Between adjacent two dishes with a chopstick. Philosophers contains three states: eating, thinking and hungry. When a philosopher feel hungry, he tried twice to pick up his left and right chopsticks dining, put down the chopsticks after eating continue to think about. Platform: |
Size: 92160 |
Author:liu |
Hits:
Description: 操作系统中关于冲突的哲学家就餐问题的简单实现-Simple implementation of the operating system on the dining philosophers problem of conflict Platform: |
Size: 2048 |
Author:金 |
Hits:
Description: c++程序,利用信号量解决哲学家就餐问题,非常好用-c++ program using semaphores to solve the dining philosophers problem, very easy to use Platform: |
Size: 1024 |
Author:Dufresen |
Hits: